package at.ac.tuwien.infosys.dsg.daios.wsdl.impl;

import at.ac.tuwien.infosys.dsg.daios.wsdl.interfaces.IWSDLPort;

/**
 * A Daios WSDL port.
 * 
 * @author philipp
 *
 */
public class WSDLPort implements IWSDLPort {
	
	private String name = null;
	private String uri = null;
	
	/**
	 * Construct a new WSDL Port.
	 * 
	 * @param name  The name of this port.
	 * @param uri The URI location that this port points to.
	 */
	public WSDLPort(String name, String uri) {
		this.name = name;
		this.uri = uri;
	}
	
	/**
	 * Get the URI of this concrete port.
	 * 
	 * @return The location that this port points to
	 * as String.
	 */	
	public String getURILocation() {
		return uri;
	}

	/**
	 * Get the name of this concrete port.
	 * 
	 * @return The name of this port.
	 */
	public String getName() {
		return name;
	}
}
